@page "/login"
@layout EmptyLayoutPage;

<div class="login">
   <div class="context">
      <Form Class="login_form" @ref="_form" Model="@form">
         <FormItem Label="账户">
            <Input @bind-Value="@(context.Account)" />
         </FormItem>
         <FormItem Label="密码">
            <InputPassword @bind-Value="@(context.Pwd)" />
         </FormItem>
         <FormItem>
            <div class="form_buttons">
               <Button Type="AntDesign.ButtonType.Primary" @onclick="OnLogin">
                  登录
               </Button>
            </div>
         </FormItem>
      </Form>
   </div>
</div>
